<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>全图运动 - 首页</title>
    <link rel="stylesheet" href="normalize.css" />
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      /* ===== 全局样式 - 严格遵循设计规范 ===== */
      html,
      body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                     "PingFang SC", "Hiragino Sans GB",
                     "Microsoft YaHei", sans-serif;
        background-color: #faf9f5;
        color: #333333;
        font-size: 14px;
        line-height: 1.4;
        height: 100%;
      }

      /* ===== 页面容器 ===== */
      .container {
        max-width: 480px;
        margin: 0 auto;
        background-color: #f1f2f4;
        min-height: 100%;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
      }

      /* 顶部导航栏 */
      .topNav {
        background-color: #ffffff;
        border-bottom: 1px solid #e0e0e0;
        padding: 16px 16px 6px;
        position: sticky;
        top: 0;
        z-index: 100;
      }

      .topNav .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
      }

      .topNav .logo {
        font-size: 18px;
        font-weight: 600;
        color: #333;
      }


      .topNav .tabs {
        display: flex;
        gap: 32px;
        font-size: 15px;
      }

      .topNav .tabs .tab {
        padding: 6px 0;
        cursor: pointer;
        position: relative;
        color: #999;
        transition: color 0.3s;
      }

      .topNav .tabs .tab.active {
        color: #333;
        font-weight: 500;
      }

      .topNav .tabs .tab.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #333;
      }

      /* 轮播横幅 */
      .banner {
        position: relative;
        margin: 6px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        overflow: hidden;
      }

      .banner .bannerPlaceholder {
        width: 100%;
        height: 180px;
        background-color: #e8e8e8;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 14px;
        position: relative;
      }

      .banner .bannerPlaceholder::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, #ccc, transparent);
      }

      .banner .bannerPlaceholder::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 80%;
        background: linear-gradient(to bottom, transparent, #ccc, transparent);
      }

      .banner .indicators {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
      }

      .banner .indicators .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #999;
        border: 1px solid #666;
      }

      .banner .indicators .dot.active {
        width: 20px;
        border-radius: 6px;
        background-color: #333;
      }

      /* 网格容器 */
      .gridContainer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 0;
      }

      /* 内容区块通用样式 */
      .section {
        margin: 6px;
        background-color: #fff;
        border-radius: 6px;
        overflow: hidden;
      }

      .section .sectionHeader {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 16px 12px;
      }

      .section .sectionTitle {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        display: flex;
        align-items: center;
      }

      .section .more {
        font-size: 13px;
        color: #999;
        cursor: pointer;
      }

      /* 内容容器 - 控制左右边距 */
      .sectionContent {
        padding: 0 16px 16px;
      }

      /* 横向滚动容器 */
      .scrollContainer {
        display: flex;
        gap: 12px;
        padding: 0;
        overflow-x: auto;
        scrollbar-width: none;
      }

      .scrollContainer::-webkit-scrollbar {
        display: none;
      }

      /* 视频卡片 */
      .videoCard {
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
      }

      .videoCard:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
      }

      .videoCard.grid-style {
        display: flex;
        flex-direction: column;
      }

      .videoCard.scroll-style {
        flex-shrink: 0;
        width: 180px;
      }

      .videoCard .thumbnail {
        position: relative;
        width: 100%;
        background-color: #e8e8e8;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 12px;
      }

      .videoCard.grid-style .thumbnail {
        aspect-ratio: 16 / 9;
      }

      .videoCard.scroll-style .thumbnail {
        height: 120px;
      }

      .videoCard .thumbnail::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        height: 1px;
        background: linear-gradient(to right, transparent, #ccc, transparent);
      }

      .videoCard .thumbnail::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 70%;
        background: linear-gradient(to bottom, transparent, #ccc, transparent);
      }

      .videoCard .stats {
        position: absolute;
        bottom: 8px;
        left: 8px;
        right: 8px;
        display: flex;
        justify-content: space-between;
        font-size: 11px;
      }

      .videoCard .viewCount {
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 2px 6px;
        border-radius: 3px;
        display: flex;
        align-items: center;
        gap: 4px;
      }

      .videoCard .viewCount .icon {
        display: inline-block;
        width: 10px;
        height: 10px;
        background-color: white;
        border-radius: 2px;
      }

      .videoCard .duration {
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 2px 6px;
        border-radius: 3px;
      }

      .videoCard .info {
        padding: 10px 8px;
        background-color: white;
        flex: 1;
        display: flex;
        flex-direction: column;
      }

      .videoCard .title {
        font-size: 13px;
        font-weight: 500;
        color: #333;
        margin-bottom: 6px;
        line-height: 1.4;
      }

      .videoCard .location {
        font-size: 11px;
        color: #999;
      }

      .videoCard .date {
        font-size: 12px;
        color: #999;
      }

      .videoCard.scroll-style .location {
        font-size: 13px;
        color: #666;
        margin-bottom: 4px;
      }

      /* 直播卡片 */
      .liveCard {
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
      }

      .liveCard:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
      }

      .liveCard.grid-style {
        display: flex;
        flex-direction: column;
      }

      .liveCard.scroll-style {
        flex-shrink: 0;
        width: 180px;
      }

      .liveCard .thumbnail {
        position: relative;
        width: 100%;
        background-color: #e8e8e8;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 12px;
      }

      .liveCard.grid-style .thumbnail {
        aspect-ratio: 16 / 9;
      }

      .liveCard.scroll-style .thumbnail {
        height: 120px;
      }

      .liveCard .thumbnail::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        height: 1px;
        background: linear-gradient(to right, transparent, #ccc, transparent);
      }

      .liveCard .thumbnail::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 70%;
        background: linear-gradient(to bottom, transparent, #ccc, transparent);
      }

      .liveCard .liveBadge {
        position: absolute;
        top: 8px;
        left: 8px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 3px 8px;
        border-radius: 3px;
        font-size: 10px;
        font-weight: 500;
        z-index: 10;
      }

      .liveCard .viewerCount {
        position: absolute;
        bottom: 8px;
        left: 8px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 11px;
      }

      .liveCard .info {
        padding: 10px 8px;
        background-color: white;
        flex: 1;
        display: flex;
        flex-direction: column;
      }

      .liveCard .title {
        font-size: 13px;
        font-weight: 500;
        color: #333;
        margin-bottom: 6px;
        line-height: 1.4;
      }

      .liveCard .location {
        font-size: 11px;
        color: #999;
      }

      .liveCard.scroll-style .location {
        font-size: 13px;
        color: #666;
      }

      /* 赛事列表 */
      .eventList {
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .eventCard {
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 16px;
        cursor: pointer;
      }

      .eventCard .eventHeader {
        display: flex;
        gap: 12px;
        margin-bottom: 10px;
      }

      .eventCard .eventIcon {
        width: 48px;
        height: 48px;
        border: 2px solid #d0d0d0;
        border-radius: 6px;
        background-color: #fafafa;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: #999;
        flex-shrink: 0;
      }

      .eventCard .eventInfo {
        flex: 1;
      }

      .eventCard .eventName {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        margin-bottom: 6px;
        line-height: 1.4;
      }

      .eventCard .eventMeta {
        font-size: 12px;
        color: #666;
        margin-bottom: 4px;
      }

      .eventCard .eventStatus {
        display: inline-block;
        background-color: #f5f5f5;
        border: 1px solid #d0d0d0;
        padding: 2px 8px;
        border-radius: 6px;
        font-size: 11px;
        color: #666;
      }

      .eventCard .eventLocation {
        font-size: 11px;
        color: #999;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #f0f0f0;
      }

      /* 占位符文字 */
      .placeholderText {
        position: relative;
        z-index: 1;
      }

      /* 标题装饰符号 */
      .titleIcon {
        display: inline-block;
        width: 15px;
        height: 15px;
        background-color: #333;
        border-radius: 2px;
        margin-right: 10px;
        vertical-align: middle;
        flex-shrink: 0;
      }

      /* 快捷功能区 */
      .quickActions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin: 0 6px;
      }

      .quickActions .action {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        cursor: pointer;
        padding: 16px;
        background-color: #fafafa;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
        min-height: 100px;
      }

      .quickActions .action:hover {
        background-color: #f0f0f0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
      }

      .quickActions .action .icon {
        box-sizing: border-box;
        position: absolute;
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        border: 2px solid #d0d0d0;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
        color: #666;
        background-color: #ffffff;
        transition: all 0.3s ease;
        flex-shrink: 0;
      }

      .quickActions .action:hover .icon {
        background-color: #f5f5f5;
        border-color: #999;
      }

      .quickActions .action .label {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        text-align: left;
        align-self: flex-start;
      }

      /* 新闻列表容器 */
      .newsList {
        display: flex;
        flex-direction: column;
        gap: 0;
      }

      /* 新闻卡片 */
      .newsCard {
        background-color: white;
        overflow: hidden;
        cursor: pointer;
        display: flex;
        gap: 12px;
        padding: 12px 0;
        margin: 0 0 12px 0;
        border-bottom: 1px solid #e0e0e0;
      }

      .newsCard .thumbnail {
        flex-shrink: 0;
        width: 100px;
        height: 80px;
        background-color: #e8e8e8;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 11px;
        position: relative;
      }

      .newsCard .thumbnail::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        height: 1px;
        background: linear-gradient(to right, transparent, #ccc, transparent);
      }

      .newsCard .thumbnail::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 70%;
        background: linear-gradient(to bottom, transparent, #ccc, transparent);
      }

      .newsCard .info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

      .newsCard .title {
        font-size: 13px;
        font-weight: 500;
        color: #333;
        line-height: 1.4;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .newsCard .meta {
        font-size: 11px;
        color: #999;
      }

      .newsCard:last-child {
        margin-bottom: 0;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <!-- 顶部导航栏 -->
      <div class="topNav">
      <div class="header">
        <div class="logo">全图运动</div>
      </div>
      <div class="tabs">
        <div class="tab active">足球</div>
        <div class="tab">篮球</div>
      </div>
    </div>

    <!-- 轮播横幅 -->
    <div class="banner">
      <div class="bannerPlaceholder">
        <span class="placeholderText">轮播横幅广告位</span>
      </div>
      <div class="indicators">
        <div class="dot active"></div>
        <div class="dot"></div>
        <div class="dot"></div>
        <div class="dot"></div>
        <div class="dot"></div>
      </div>
    </div>

    <!-- 快捷功能区 -->
    <div class="quickActions">
      <div class="action">
        <div class="icon">ICON</div>
        <div class="label">球局</div>
      </div>
      <div class="action">
        <div class="icon">ICON</div>
        <div class="label">球馆</div>
      </div>
    </div>

    <!-- 热门集锦 -->
    <div class="section">
      <div class="sectionHeader">
        <div class="sectionTitle"><span class="titleIcon"></span>热门集锦</div>
        <div class="more">更多 ›</div>
      </div>
      <div class="sectionContent">
        <div class="gridContainer">
          <div class="videoCard grid-style">
            <div class="thumbnail">
              <span class="placeholderText">视频缩略图</span>
              <div class="stats">
                <div class="viewCount">
                  <span class="icon"></span>
                  8031
                </div>
                <div class="duration">2:45</div>
              </div>
            </div>
            <div class="info">
              <div class="title">运动年代</div>
              <div class="location">鲲锐九人制球场足球场</div>
            </div>
          </div>
          <div class="videoCard grid-style">
            <div class="thumbnail">
              <span class="placeholderText">视频缩略图</span>
              <div class="stats">
                <div class="viewCount">
                  <span class="icon"></span>
                  3286
                </div>
                <div class="duration">1:32</div>
              </div>
            </div>
            <div class="info">
              <div class="title">蒙牛足球队</div>
              <div class="location">鲲锐九人制球场足球场</div>
            </div>
          </div>
          <div class="videoCard grid-style">
            <div class="thumbnail">
              <span class="placeholderText">视频缩略图</span>
              <div class="stats">
                <div class="viewCount">
                  <span class="icon"></span>
                  1205
                </div>
                <div class="duration">3:18</div>
              </div>
            </div>
            <div class="info">
              <div class="title">东城足球队</div>
              <div class="location">鲲锐九人制球场足球场</div>
            </div>
          </div>
          <div class="videoCard grid-style">
            <div class="thumbnail">
              <span class="placeholderText">视频缩略图</span>
              <div class="stats">
                <div class="viewCount">
                  <span class="icon"></span>
                  2450
                </div>
                <div class="duration">2:10</div>
              </div>
            </div>
            <div class="info">
              <div class="title">东都剑锋</div>
              <div class="location">鲲锐九人制球场足球场</div>
            </div>
          </div>
          <div class="videoCard grid-style">
            <div class="thumbnail">
              <span class="placeholderText">视频缩略图</span>
              <div class="stats">
                <div class="viewCount">
                  <span class="icon"></span>
                  3100
                </div>
                <div class="duration">4:05</div>
              </div>
            </div>
            <div class="info">
              <div class="title">炫威</div>
              <div class="location">鲲锐九人制球场足球场</div>
            </div>
          </div>
          <div class="videoCard grid-style">
            <div class="thumbnail">
              <span class="placeholderText">视频缩略图</span>
              <div class="stats">
                <div class="viewCount">
                  <span class="icon"></span>
                  2890
                </div>
                <div class="duration">2:55</div>
              </div>
            </div>
            <div class="info">
              <div class="title">蒙牛</div>
              <div class="location">鲲锐九人制球场足球场</div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 热门球局 -->
    <div class="section">
      <div class="sectionHeader">
        <div class="sectionTitle"><span class="titleIcon"></span>热门球局</div>
        <div class="more">更多 ›</div>
      </div>
      <div class="sectionContent">
        <div class="gridContainer">
          <div class="liveCard grid-style">
            <div class="thumbnail">
              <div class="liveBadge">LIVE</div>
              <span class="placeholderText">直播画面</span>
              <div class="viewerCount">18人观看</div>
            </div>
            <div class="info">
              <div class="title">猛虎咆哮局</div>
              <div class="location">奥体1号场馆</div>
            </div>
          </div>
          <div class="liveCard grid-style">
            <div class="thumbnail">
              <div class="liveBadge">LIVE</div>
              <span class="placeholderText">直播画面</span>
              <div class="viewerCount">0人观看</div>
            </div>
            <div class="info">
              <div class="title">钢铁堡垒局</div>
              <div class="location">城市主场2号场地</div>
            </div>
          </div>
          <div class="liveCard grid-style">
            <div class="thumbnail">
              <div class="liveBadge">LIVE</div>
              <span class="placeholderText">直播画面</span>
              <div class="viewerCount">42人观看</div>
            </div>
            <div class="info">
              <div class="title">龙虎争霸局</div>
              <div class="location">体育中心1号场</div>
            </div>
          </div>
          <div class="liveCard grid-style">
            <div class="thumbnail">
              <div class="liveBadge">LIVE</div>
              <span class="placeholderText">直播画面</span>
              <div class="viewerCount">28人观看</div>
            </div>
            <div class="info">
              <div class="title">天下第一局</div>
              <div class="location">国际体育馆3号场</div>
            </div>
          </div>
          <div class="liveCard grid-style">
            <div class="thumbnail">
              <div class="liveBadge">LIVE</div>
              <span class="placeholderText">直播画面</span>
              <div class="viewerCount">35人观看</div>
            </div>
            <div class="info">
              <div class="title">王者荣耀局</div>
              <div class="location">奥体4号场馆</div>
            </div>
          </div>
          <div class="liveCard grid-style">
            <div class="thumbnail">
              <div class="liveBadge">LIVE</div>
              <span class="placeholderText">直播画面</span>
              <div class="viewerCount">52人观看</div>
            </div>
            <div class="info">
              <div class="title">横扫千军局</div>
              <div class="location">黄河体育中心1号场</div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 热门资讯 -->
    <div class="section">
      <div class="sectionHeader">
        <div class="sectionTitle"><span class="titleIcon"></span>热门资讯</div>
        <div class="more">更多 ›</div>
      </div>
      <div class="sectionContent">
        <div class="newsList">
          <div class="newsCard">
            <div class="thumbnail">
              <span class="placeholderText">图片</span>
            </div>
            <div class="info">
              <div class="title">中国足球，能从"村超"里学点什么</div>
              <div class="meta">村超 • 2023.09.25 19:53</div>
            </div>
          </div>
          <div class="newsCard">
            <div class="thumbnail">
              <span class="placeholderText">图片</span>
            </div>
            <div class="info">
              <div class="title">智慧体育 | 苹果计划通过混合现实实头盔颅覆体育观赏方式</div>
              <div class="meta">数智体育|数智场馆 • 2023.07.06 11:48</div>
            </div>
          </div>
          <div class="newsCard">
            <div class="thumbnail">
              <span class="placeholderText">图片</span>
            </div>
            <div class="info">
              <div class="title">头条 | 得了便宜卖乖？偷袭梅西球迷身份被曝，叶楣安保太烂</div>
              <div class="meta">数智体育|数智场馆 • 2023.07.06 11:46</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  </body>
</html>
